package com.warehouse_management.purchase.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("C_PRODUCT")
public class ProductCondition {

    private String productId;
    private String productModel;
    private String productPrice;
    private String productStatus;
    private String productUnit;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    private String createId;
    private String typeId;
    private Type type;
    private String firmId;

//    连小龙
    private String typeName;
    private String brandName;
    private String uname;
}
